package com.hertz.alarm.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hertz.alarm.dao.AbstractEntity;
@Entity
@Table(name = "iris_trigger", catalog = "app_myiris")
public class IrisTrigger implements AbstractEntity<Short>,Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 510364983586231283L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Short id;
	private String name;
	private boolean flag;
	public Short getId() {
		return id;
	}
	public void setId(Short id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean getFlag() {
		return flag;
	}
	public void setFlag(boolean flag) {
		this.flag = flag;
	}
	
}
